package vow.gui.models;

import java.util.List;

import javax.swing.AbstractListModel;


public class StringListModel extends AbstractListModel{

	private List<String> parts;
	
	public StringListModel(List<String> l){
		parts = l;
	}
	
	@Override
	public Object getElementAt(int index) {
		return parts.get(index);
	}

	@Override
	public int getSize() {
		return parts.size();
	}
	
}